import { request } from "@/utils/request"

// 获取巡检员位置列表
export const getInspectorLocations = (data: any) => {
  return request.get("/xj/v1/inspector/locations", data)
}

// 获取在岗巡检员位置列表
export const getOnlineInspectorLocations = (data: any) => {
  return request.get("/xj/v1/inspector/online-locations", data)
}

// 获取巡检员实时位置
export const getInspectorRealTimeLocation = (data: any) => {
  return request.get("/xj/v1/inspector/real-time-location", data)
}